package com.buss.log4j;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.junit.Test;

/**
 * 类描述：
 * @version: 1.0
 * @author: Administrator
 * @version: 2017
 */
public class ShowLog4j
{
    static final Logger logger = LogManager.getLogger(ShowLog4j.class.getName());

    @Test
    public void test() throws Exception {
        logger.debug("Did it debug!");
        logger.info("Did it info!");
        logger.warn("Did it warn!");
        logger.error("Did it error!");
    }

}